FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > DefaultStyleCollection クラス > CopyTo メソッド : CopyTo(NamedStyle[],Int32) メソッド |
'Declaration Public Overloads Sub CopyTo( _ ByVal array() As NamedStyle, _ ByVal index As Integer _ )
'使用法 Dim instance As DefaultStyleCollection Dim array() As NamedStyle Dim index As Integer instance.CopyTo(array, index)
public void CopyTo( NamedStyle[] array, int index )
FarPoint.Win.Spread.DefaultStyleCollection dsc = new FarPoint.Win.Spread.DefaultStyleCollection(); FarPoint.Win.Spread.NamedStyle[] style = new FarPoint.Win.Spread.NamedStyle[dsc.Count]; dsc.CopyTo((Array)style,0);
Dim dsc As New FarPoint.Win.Spread.DefaultStyleCollection() Dim style(dsc.Count()) As FarPoint.Win.Spread.NamedStyle dsc.CopyTo(CType(style, Array), 0)